/*
ccc
打印调试
console.log("debug xxx", res)
------------------

getData
request请求数据
const getData = () => {
  request({
    url: 'admin/equip/list',
    method: 'post',
    data: query
  }).then(res => {
    // console.log("res",res)
    tableData.value = res.data
    pageTotal.value = res.total
  }).catch(err => {
    console.log(err)
  })
}

------------------

handleDelete
删除操作
const handleDelete = (row) => {
  ElMessageBox.confirm("确定要删除吗？", "提示", {
    type: "warning",
  }).then(() => {
    return request({
      url: 'admin/equip/inspectTaskDelete',
      method: 'post',
      data: {id: row.id}
    })
  }).then(res => {
    ElMessage.success("删除成功")
    getData()
  }).catch(err => {
    console.log(err)
  })
}
------------------

submitForm
提交表单

const rules = {
	username: [{required: true, message: "请输入用户名", trigger: "blur",},],
	password: [{required: true, message: "请输入密码", trigger: "blur"},],
	vcode: [{required: true, message: "请输入验证码", trigger: "blur"},],
};
const login = ref(null);
const submitForm = () => {
	login.value.validate((valid) => {
		if (valid) {
			request.post('admin/login/login', param).then(res => {
				ElMessage.success("保存成功")
                emits('compClose', 'save', 1)
			}).catch(err => {
				getVCode()
				console.log(err)
			})
		} else {
			return false;
		}
	});
};
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------
------------------















*/
